-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(http-plugin): add options to disable new spans if no parent #931 #948
feat(http-plugin): add options to disable new spans if no parent #931 #948
Conversation
6efb8b0
to
8de7045
Compare
As #930, lint is failing because of GTS versions |
Codecov Report
@@ Coverage Diff @@
## master #948 +/- ##
==========================================
+ Coverage 95.01% 95.06% +0.05%
==========================================
Files 212 212
Lines 8827 8898 +71
Branches 797 801 +4
==========================================
+ Hits 8387 8459 +72
+ Misses 440 439 -1
|
8de7045
to
82ba62e
Compare
packages/opentelemetry-plugin-http/test/functionals/http-enable.test.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
look good
82ba62e
to
ef451f6
Compare
@open-telemetry/javascript-approvers we need more reviews on this |
ef451f6
to
be6e3cd
Compare
77e9ee9
to
e35ff55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks
42e9c10
to
cb1e933
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, one comment
6eed95e
to
4cd48d1
Compare
@vmarchaud can you help me understand why you decided to create a non recording span rather than just returning the NOOP span provided by the API? You've introduced a hard dependency on our core/sdk, which means a third party implementation of an SDK will not be able to work with this plugin. |
@dyladan Well if i remember correctly using a NoopSpan wasn't propagating the context, but if i'm mistaken i see no reason to not use a NoopSpan instead |
I would like to remove the dependency on |
No description provided.